/**
 * 
 */

package CCT220_Aula13_Exercicio03_13106.model;

/**
 * </br>******************************
 * </br>Project: CCT220
 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
 * </br>Class: Aluno
 * </br>Last Change: 04/10/2011 23:51:21
 * </br>Description: Entity of Aluno
 * </br>******************************</br>
 * 
 * @author marcel
 * @author 13106
 * 
 */
public class Aluno {
	private int    codigo;
	private String nome;
	private String endereco;


	/**
	 * </br>******************************
	 * </br>Constructor for
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>LastChange: 04/10/2011 23:51:14
	 * </br>******************************</br>
	 * 
	 * @param codigo
	 * @param nome
	 * @param endereco
	 */
	public Aluno(int codigo, String nome, String endereco) {

		super();
		this.codigo = codigo;
		this.nome = nome;
		this.endereco = endereco;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: getCodigo
	 * </br>Last Change: 04/10/2011 23:48:56
	 * </br>Description: Getter for codigo
	 * </br>******************************</br>
	 * 
	 * @return the codigo
	 */
	public int getCodigo() {

		return codigo;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: getNome
	 * </br>Last Change: 04/10/2011 23:48:31
	 * </br>Description: Getter for nome
	 * </br>******************************</br>
	 * 
	 * @return the nome
	 */
	public String getNome() {

		return nome;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: getEndereco
	 * </br>Last Change: 04/10/2011 23:48:04
	 * </br>Description: Getter for endereco
	 * </br>******************************</br>
	 * 
	 * @return the endereco
	 */
	public String getEndereco() {

		return endereco;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: setCodigo
	 * </br>Last Change: 04/10/2011 23:49:39
	 * </br>Description:Setter for codigo
	 * </br>******************************</br>
	 * 
	 * @param codigo
	 *            the codigo to set
	 */
	public void setCodigo(int codigo) {

		this.codigo = codigo;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: setNome
	 * </br>Last Change: 04/10/2011 23:49:57
	 * </br>Description: Setter for nome
	 * </br>******************************</br>
	 * 
	 * @param nome
	 *            the nome to set
	 */
	public void setNome(String nome) {

		this.nome = nome;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio03_13106.model
	 * </br>Class: Aluno
	 * </br>Method: setEndereco
	 * </br>Last Change: 04/10/2011 23:50:17
	 * </br>Description: Setter for endereco
	 * </br>******************************</br>
	 * 
	 * @param endereco
	 *            the endereco to set
	 */
	public void setEndereco(String endereco) {

		this.endereco = endereco;
	}


	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {

		return "Aluno [codigo=" + codigo + ", nome=" + nome + ", endereco="
		        + endereco + "]";
	}

}
